package br.com.lazyprogrammer.spaceshooter.manager;

import br.com.limaogames.framework.gl.Font;
import br.com.limaogames.framework.gl.Texture;
import br.com.limaogames.framework.impl.GLGame;

/**
 * Created by Andre on 22/08/2014.
 */
public class FontManager implements ManagerListener {

    public static boolean loadComplete = false;

    public static Texture fonts;

    public static Font font;

    @Override
    public void load(GLGame game) {
        fonts = new Texture(game, "fonts.png");

        font = new Font(fonts, 226, 0, 16, 16, 20);

        loadComplete = true;
    }

    @Override
    public void reload() {
        fonts.reload();
    }
}
